]> dgit.raspbian.org Git - gnome-shell.git/commit
base-icon: Enforce the requested icon size
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 10 Feb 2011 15:30:28 +0000 (16:30 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 25 Feb 2011 23:06:44 +0000 (00:06 +0100)
commita78e75775d20bd626ec0ee8670c925ed62d8149c
treebf20c2ddcb538844c5d9fcc325343f7368324524
parent91b84e0b06ba6759cd1dcbefab1325b39e8f9bea
base-icon: Enforce the requested icon size

Mainly due to StTextureCache's way of handling fallback icons, an
implementation of BaseIcon.createIcon() may return an icon smaller
than the requested size. Given that BaseIcon is not used for isolated
elements, but rather for groups of related items (App view, Dash,
Search Results, ...), having some elements end up with the wrong
size is more annoying than having some elements end up ugly due to
scaling, so explicitly enforce the requested icon size.

https://bugzilla.gnome.org/show_bug.cgi?id=642043
js/ui/iconGrid.js